package cn.udinghuo.model.agents.agent;

import com.fasterxml.jackson.annotation.JsonSetter;

import org.springframework.util.Assert;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.Column;
import cn.udinghuo.core.domain.entity.BaseAuditTenantAndDeleted;	
import cn.udinghuo.core.domain.entity.Comment;
import cn.udinghuo.core.domain.entity.ita.CacheKey;

/**
 * @author chenxgan
 *	区域设置
 */
@Entity
@Table(name="agentarea")
public class AgentArea extends BaseAuditTenantAndDeleted<Long>  {

	private static final long serialVersionUID = 2130706432L;
	/**
	* 父级IdparentId
	*/
	@Comment(value="父级Id")
	@Column(name="iParentId")
	private Long parentId;
	/**
	* 数据来源IDoutSysKey
	*/
	@Comment(value="数据来源ID")
	@Column(name="cOutSysKey")
	private String outSysKey;
	/**
	* erp编码erpCode
	*/
	@Comment(value="erp编码")
	@Column(name="cErpCode")
	private String erpCode;
	/**
	* 备注comment
	*/
	@Comment(value="备注")
	@Column(name="cComment")
	private String comment;
	/**
	* 编码code
	*/
	@Comment(value="编码")
	@Column(name="cCode")
	private String code;
	/**
	* 名称name
	*/
	@Comment(value="名称")
	@Column(name="cName")
	private String name;
	/**
	* 深度depth
	*/
	@Comment(value="深度")
	@Column(name="iDepth")
	private int depth;
	/**
	* 深度path
	*/
	@Comment(value="深度")
	@Column(name="cPath")
	private String path;
	/**
	* 操作order
	*/
	@Comment(value="操作")
	@Column(name="iOrder")
	private int order;
	public Long getParentId() {
		return this.parentId;
	}
	
	public void setParentId(Long value) {
		this.parentId = value;
	}
	
	public String getOutSysKey() {
		return this.outSysKey;
	}
	
	public void setOutSysKey(String value) {
		this.outSysKey = value;
	}
	
	public String getErpCode() {
		return this.erpCode;
	}
	
	public void setErpCode(String value) {
		this.erpCode = value;
	}
	
	public String getComment() {
		return this.comment;
	}
	
	public void setComment(String value) {
		this.comment = value;
	}
	
	public String getCode() {
		return this.code;
	}
	
	public void setCode(String value) {
		this.code = value;
	}
	
	public String getName() {
		return this.name;
	}
	
	public void setName(String value) {
		this.name = value;
	}
	
	public int getDepth() {
		return this.depth;
	}
	
	public void setDepth(int value) {
		this.depth = value;
	}
	
	public String getPath() {
		return this.path;
	}
	
	public void setPath(String value) {
		this.path = value;
	}
	
	public int getOrder() {
		return this.order;
	}
	
	public void setOrder(int value) {
		this.order = value;
	}
	
}
